﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Star.Tools.Excel
{

    /// <summary>
    /// 指定应忽略属性的属性.
    /// </summary>
    /// <seealso cref="System.Attribute" />
    [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
    public sealed class IgnoreAttribute : Attribute
    {
        public bool IsIgnored { get; }

        public IgnoreAttribute(bool isIgnored)
             => IsIgnored = isIgnored;
    }
}
